package com.minierp.bean;

public class QueryParameterCarrier {
	public static final int L_TYPE_EQUALS = 1;
	public static final int L_TYPE_BEFORE = 2;
	public static final int L_TYPE_AFTER = 3;
	public static final int L_TYPE_BEFORE_OR_EQUALS = 4;
	public static final int L_TYPE_AFTER_OR_EQUALS = 5;
	public static final int L_TYPE_NOT_EQUALS = 6;
	public static final int L_TYPE_LEFT_LIKE = 7;
	public static final int L_TYPE_RIGHT_LIKE = 8;
	public static final int L_TYPE_ALL_LIKE = 9;
	public static final int L_TYPE_COMMAND = 10;
	public static final int D_TYPE_STRING = 1;
	public static final int D_TYPE_INT = 2;
	public static final int D_TYPE_LONG = 3;
	public static final int D_TYPE_DATE = 4;
	public static final int D_TYPE_BIGDECIMAL = 5;
	public static final int D_TYPE_COMMAND = 6;
	public static final int D_TYPE_BOOLEAN = 7;
	public String objectName;
	public String propertyName;
	public String value;
	public int dataType;
	public int logicType;
	public String dateFormatStr = "yyyy-MM-dd";

	public QueryParameterCarrier() {
	}

	public QueryParameterCarrier(String objectName, String propertyName,
			String value, int dataType, int logicType) {
		this.objectName = objectName;
		this.propertyName = propertyName;
		this.value = value;
		this.dataType = dataType;
		this.logicType = logicType;
	}
}